package data.nanjing.expo.models.domain.dto.exhibition;

import com.fasterxml.jackson.annotation.JsonIgnore;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 上传展位信息
 *
 * @author ChanJi
 * @create 2018-05-23 21:50
 **/
public class StandDto {
    private Integer id;
    @NotBlank(message = "展位编号字母不能为空")
    private String word;
    @NotNull(message = "展位开始编号不能为空")
    private Integer start;
    @NotNull(message = "展位结束编号不能为空")
    private Integer end;
    private Integer number;
    @JsonIgnore
    private Integer expoId;
    @JsonIgnore
    private Integer hallId;
    @JsonIgnore
    private Integer areaId;
    @JsonIgnore
    private String verifyCode;
    @JsonIgnore
    private Date createTime;
    @JsonIgnore
    private Date updateTime;
    @JsonIgnore
    private Integer participantId;
    @JsonIgnore
    private Integer useCodeUserId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getWord() {
        return word;
    }

    public void setWord(String word) {
        this.word = word;
    }

    public Integer getStart() {
        return start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Integer getEnd() {
        return end;
    }

    public void setEnd(Integer end) {
        this.end = end;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public Integer getExpoId() {
        return expoId;
    }

    public void setExpoId(Integer expoId) {
        this.expoId = expoId;
    }

    public Integer getHallId() {
        return hallId;
    }

    public void setHallId(Integer hallId) {
        this.hallId = hallId;
    }

    public String getVerifyCode() {
        return verifyCode;
    }

    public void setVerifyCode(String verifyCode) {
        this.verifyCode = verifyCode;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getParticipantId() {
        return participantId;
    }

    public void setParticipantId(Integer participantId) {
        this.participantId = participantId;
    }

    public Integer getUseCodeUserId() {
        return useCodeUserId;
    }

    public void setUseCodeUserId(Integer useCodeUserId) {
        this.useCodeUserId = useCodeUserId;
    }

    @Override
    public String toString() {
        return "StandDto{" +
                "id=" + id +
                ", word='" + word + '\'' +
                ", start=" + start +
                ", end=" + end +
                ", number=" + number +
                ", areaId=" + areaId +
                '}';
    }
}
